Mini Project Title: GDP per Capita and Life Expectancy between Canada and Hong Kong from 1952 to 2007¶

By Team 55: Chuen Kei Ho 101410183 & Ka Tsun Chan 101420274¶

Connected Scatterplots - In the plot below, we show the "trajectory" of Canada Vs Hong Kong through a space defined by GDP per Capita and Life Expectancy¶
In [3]:
##Credit to https://plotly.com/python/line-charts/

# #px.scatter(x=[1, 2, 3], y=[1, 2, 3])
df = px.data.gapminder().query("country in ['Canada', 'Hong Kong, China']")

fig = px.line(df, x="lifeExp", y="gdpPercap", color="country", text="year")
fig.update_traces(textposition="bottom right")
fig.show()

¶

To describe the trajectory of Canada and Hong Kong in a space defined by GDP per capita and life expectancy over the past 60 years, we need to look at how these two countries have fared over time.

In the 1960s, both Canada and Hong Kong had similar life expectancies, but Canada had a higher GDP per capita. Over the following decades, Canada continued to grow economically while also experiencing gains in life expectancy. By the 1980s, Canada had become one of the wealthiest nations in the world, with a high standard of living and a life expectancy of over 75 years.

Hong Kong, on the other hand, had a different trajectory. While its GDP per capita increased over time, its gains in life expectancy were even more impressive. By the 1990s, Hong Kong's life expectancy had surpassed that of Canada, despite having a lower GDP per capita. This can be attributed to Hong Kong's focus on public health initiatives and access to healthcare.

In the early 2000s, both countries continued to experience steady growth in both GDP per capita and life expectancy. However, in recent years, Hong Kong has faced political and economic challenges that have impacted its trajectory. Despite this, it still has a higher life expectancy than Canada, although Canada still has a higher GDP per capita.

Overall, while Canada and Hong Kong have taken different paths over the past 60 years, they both have seen significant improvements in their economies and quality of life. Despite some recent setbacks, both countries remain strong players on the world stage.

[Prepared by Chat GPT]

¶

reference and credit to plotly.com